package live_schedule

import (
	"github.com/gin-gonic/gin"
	apis "vrcm/src/vrcm/app/admin/apis/live_schedule"
	"vrcm/src/vrcm/app/admin/router"
)

func init() {
	router.NoCheckRole = append(router.NoCheckRole, registerWaterMarkTransRouter)
}

// registerWaterMarkTransRouter
func registerWaterMarkTransRouter(v1 *gin.RouterGroup) {
	api := apis.WaterMarkTrans{}
	r := v1.Group("/watermark-trans")
	{
		r.POST("/get-list", api.GetPage)
		r.GET("/:id", api.Get)
		r.POST("/insert", api.Insert)
		r.POST("/update", api.Update)
		r.POST("/delete", api.Delete)
		r.POST("/watermark-callback", api.WaterMarkCallBack)
	}
}
